package com.gotloop.dto;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * Tag Data Transfert Object.
 * @author jibhaine
 *
 */
@XmlRootElement
public class TagDTO extends AbstractDTO implements Serializable {

	/**
	 * Generated serial version UID.
	 */
	private static final long serialVersionUID = -8452339522916381415L;

	/**
	 * Tag word.
	 */
	private String name;

	/**
	 * Number of occurences.
	 */
	private int occurences;
	
	/**
	 * Get accessor for name.
	 * @return the name to get
	 */
	public String getName() {
		return name;
	}

	/**
	 * Set accessor for name.
	 * @param pName the name to set
	 */
	public void setName(String pName) {
		this.name = pName;
	}

	/**
	 * Get accessor for occurences.
	 * @return the occurences to get
	 */
	public int getOccurences() {
		return occurences;
	}

	/**
	 * Set accessor for occurences.
	 * @param pOccurences the occurences to set
	 */
	public void setOccurences(int pOccurences) {
		this.occurences = pOccurences;
	}

	
}
